import Vue from 'vue'
import VueRouter from 'vue-router'
import Login from '../components/Login.vue'

Vue.use(VueRouter)

const routes = [{
  path: '/login',
  component: Login
},
{
   path: '/',
   redirect: '/login'
}
]
const router = new VueRouter({
  routes
})

export default router
